cmake_minimum_required (VERSION 2.8)

set(APPNAME GB28181Client)
set(CMAKE_CXX_STANDARD 17)
# set(CMAKE_BUILD_TYPE Debug)

project(${APPNAME})

include_directories(/usr/local/include)
set(osip2Lib /usr/local/lib/libosip2.so 
    /usr/local/lib/libeXosip2.so
    /usr/local/lib/libosipparser2.so)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} DIR_SRCS)

add_executable(${APPNAME} ${DIR_SRCS})
target_link_libraries(${APPNAME} ${osip2Lib} spdlog pugixml)
